<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <meta name="author" content="Crazy">
    <link rel="shortcut icon" href="__TMPL__/public/assets/images/favicon.png">
    <!-- js placed at the end of the document so the pages load faster -->
    <!-- JQuery Min JS -->
    <script src="__TMPL__/public/assets/js/jquery.1.12.4.min.js"></script>
    <!-- Popper Min JS -->
    <script src="__TMPL__/public/assets/js/popper.min.js"></script>
    <!-- Bootstrap Min JS -->
    <script src="__TMPL__/public/assets/js/bootstrap.min.js"></script>
    <!-- Owl Carousel JS -->
    <script src="__TMPL__/public/assets/js/owl.carousel.min.js"></script>
    <!-- Magnific Popup JS -->
    <script src="__TMPL__/public/assets/js/jquery.magnific-popup.min.js"></script>
    <!-- WayPonits JS -->
    <script src="__TMPL__/public/assets/js/waypoints.js"></script>
    <!-- CounterUp JS -->
    <script src="__TMPL__/public/assets/js/jquery.counterup.min.js"></script>
    <!-- Tilt JS -->
    <script src="__TMPL__/public/assets/js/tilt.jquery.min.js"></script>
    <!-- Form Validator JS FILES -->
    <script src="__TMPL__/public/assets/js/form-validator.min.js"></script>
    <!-- Script JS -->
    <script src="__TMPL__/public/assets/js/script.js"></script>
    <script src="__TMPL__/public/assets/js/layer/layer.js"></script>


    <include file="public@head"/>
    <block name="head">
        <php>
            $title = empty($category) ? $site_info['site_name'] : $category['name'] ;
        </php>
        <title>{$title|default=''}</title>
    </block>

    <hook name="before_head_end"/>
</head>
<body>
<include file="public@header"/>

<block name="body"></block>

<include file="public@footer"/>
<include file="public@scripts"/>
<hook name="before_body_end"/>
</body>
</html>